#include <stdio.h> 

int main(int argc, char **argv) {
    int array[10] = {0};
    decltype(array) val;
    int* ptr = array;

    val[0] = 1;
    printf("size:%lu\n", sizeof(val));
    printf("size:%lu\n", sizeof(ptr));
    printf("%d\n", *val);
    return 0;
}
